package com.bookbuf.app;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;

import com.bookbuf.library.LoaderResult;
import com.bookbuf.library.loader.GenericAsyncV4Loader;

/**
 * author: robert.
 * date :  16/10/11.
 */

public class V4Fragment extends Fragment implements LoaderManager.LoaderCallbacks<LoaderResult<Integer>> {
	@Override
	public Loader<LoaderResult<Integer>> onCreateLoader (int id, Bundle args) {
		return new GenericAsyncV4Loader<> (getActivity ());
	}

	@Override
	public void onLoadFinished (Loader<LoaderResult<Integer>> loader, LoaderResult<Integer> data) {

	}

	@Override
	public void onLoaderReset (Loader<LoaderResult<Integer>> loader) {

	}
}
